import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as Icons from '@element-plus/icons'
import router from '@/router'
import store from '@/store'

const app = createApp(App)

for (const name in Icons) {
  app.component(name, (Icons as any)[name])
}

app.use(ElementPlus)
app.use(router)
app.use(store)
app.mount('#app')
